FROM welkin2020/centos-jre8:min

#维护者信息
MAINTAINER wei.kun@sunyard.com
#设置编码
ENV LANG C.UTF-8

#EXPOSE 映射端口
EXPOSE 8761

ADD target/prod /opt/eureka-server

#CMD java -cp /opt/eureka-server/config:/opt/eureka-server/libs/*.jar -DAppName=com.welkin.cloudtest.eurekaS.EurekaMain8761 -server -Xmx512m -Xms512m -XX:PermSize=512m org.springframework.boot.loader.JarLauncher
#CMD "read"
CMD java -cp /opt/eureka-server/config -jar /opt/eureka-server/libs/test-springcloud-eureka-server8761.jar